@use  './global.scss';
@use  './tencreat.scss';
@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";
@import "./btn.scss";
@import "./nprogress.scss";
body,html,#app {
  height: 100%;
}
body {
  height: 100%;
  font-family: SourceHanSans;
  color: #000000;
  background-color: #f7f7f7;
}


html {
  box-sizing: border-box;
}

#app {
  background-color: #f7f7f7;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

html,
body,
ul,
li,
ol,
dl,
dd,
dt,
p,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
legend,
img {
	margin: 0;
	padding: 0;
}

fieldset,
img,
input,
button,
textarea {
	border: none;
	padding: 0;
	margin: 0;
	outline-style: none;
}

ul,
ol {
	list-style: none;
}

input {
	padding-top: 0;
	padding-bottom: 0;
}

select,
input {
	vertical-align: middle;
}

select,
input,
textarea {
	font-size: 12px;
	margin: 0;
}

textarea {
	resize: none;
}

table {
	border-collapse: collapse;
}


h1,
h2,
h3,
h4,
h5,
h6 {
	text-decoration: none;
	font-weight: normal;
	font-size: 100%;
}

s,
i,
em {
	font-style: normal;
	text-decoration: none;
}

.margin_0_24 {
	margin: 0 24px;
}

/* switch按钮样式 */
.switch .el-switch__label {
	position: absolute;
	display: none;
	color: #fff !important;
}
/*打开时文字位置设置*/
.switch .el-switch__label--right {
	z-index: 1;
}
/* 调整打开时文字的显示位子 */
.switch .el-switch__label--right span {
	margin-right: 9px;
}
/*关闭时文字位置设置*/
.switch .el-switch__label--left {
	z-index: 1;
}
/* 调整关闭时文字的显示位子 */
.switch .el-switch__label--left span {
	margin-left: 9px;
}
/*显示文字*/
.switch .el-switch__label.is-active {
	display: flex;
  align-items: center;
  justify-content: center;
}
/* 调整按钮的宽度 */
.el-switch__label * {
	font-size: 12px !important;
}
.switch.el-switch .el-switch__core,
.el-switch .el-switch__label {
	width: 52px !important;
	margin: 0;
	text-align: center;
	line-height: 20px;
}
.switch .el-switch__core {
	background: #CCCCCC;
}
.switch.is-checked .el-switch__core {
	background-color: #4C59C6;
	border-color: #4C59C6;
}
.el-tooltip__popper {
	max-width: 450px;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 24px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center;
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg,
      rgba(32, 182, 249, 1) 0%,
      rgba(32, 182, 249, 1) 0%,
      rgba(33, 120, 241, 1) 100%,
      rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

.margin_0_24 {
  margin: 0 24px;
}

.color_card_span {
  color: #6373ee;
  font-weight: bold;
  font-size: 14px;
}

.color_font_weight {
  font-weight: bold;
  font-size: 18px;
  font-family: Microsoft YaHei;
}

.border_radius_20 {
  border-radius: 20px;
}

.app-container {
  padding: 24px;
  // background: #fff;
}

.savebtn {
  height: 44px;
  width: 308px;
}

.minibtn_padding {
  padding: 7px 15px;
  size: mini;
}

.margin_top_10 {
  margin-top: 10px;
}

.margin_top_15 {
  margin-top: 15px;
}

//表格下按钮尺寸
.el-table {
  .el-button {
    padding: 7px 15px;
  }

  .el-button--mini.is-circle {
    padding: 7px !important;
  }

  .el-button--medium.is-circle {
    padding: 10px !important;
  }
}

//超出3行显示...
.multi-line {
  word-break: break-all;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.multi-one {
  word-break: break-all;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

// 商品名称样式
.goods-name-style {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  width: 130px;
}

.dialog-footer {
  text-align: center;
}

.el-dialog__body {
  .el-input {
    max-width: 217px;
  }
}

.el-dialog__footer {
  text-align: center;
}

.demo-form-inline {
  .el-button {
    padding: 7px 15px;
    margin-left: 10px;
  }
}

//统计样式
.msg-info-box {
  display: flex;
  margin-bottom: 10px;
  flex-wrap: wrap;

  .box {
    padding: 0 30px;
    min-width: 182px;
    height: 80px;
    flex-shrink: 0;
    background-image: url("../../assets/images/ic_6199.png");
    border-radius: 15px;
    background-color: #215acd;
    text-align: center;
    overflow: hidden;
    margin-right: 25px;
    overflow: hidden;
    margin-top: 10px;

    .count {
      width: 100%;
      font-size: 20px;
      font-family: DIN;
      color: #ffffff;
      font-weight: 900;
      margin-top: 14px;
    }

    .text {
      width: 100%;
      font-size: 14px;
      color: #ffffff;
      opacity: 0.6;
      margin-top: 5px;
    }
  }
}

//返回按钮统一样式
.btn-return {
  width: 92px;
  height: 30px;
  background: #6373ee;
  opacity: 1;
  border-radius: 20px;
  display: flex;
  color: #ffffff;
  font-size: 14px;
  line-height: 30px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;

  img {
    display: block;
    width: 15px;
    flex-shrink: 0;
    height: 14px;
    margin-right: 6px;
  }
}

//输入框居中显示
.input-center .el-input__inner {
  text-align: center;
}
